package Method;

/**
 * ClassName:MethodDemo15
 * Package:Method
 * Description:
 *
 * @Author:ZhangXin
 * @Create2023/1/12-15:14
 * @Version:v1.0
 */
public class MethodDemo15 {
    public static void main(String[] args) {
        int [] arr={1,2,3,4,5,6};
        System.out.println("调用change方法前:"+arr[3]);
        change(arr);
        System.out.println("调用change方法后:"+arr[3]);
    }
    public static void change(int []arr){
        arr[3]=100;
    }
}
